luci-app-ddns: fix update time calculation
authorsmall_5 <[email protected]>
Thu, 4 Mar 2021 02:50:25 +0000 (10:50 +0800)
committerSmall_5 <[email protected]>
Thu, 4 Mar 2021 11:47:06 +0000 (19:47 +0800)
commit58ed2b211a1add5fb2cb3750af6074c4d51c307a
treeba69dd3d1fbc7f51fd8b181dcfe19c70bbd797e1
parentade4abf5390e18c1610d1af175e291b23f979c09
luci-app-ddns: fix update time calculation

* Fix last_update overflow

* Fix next_update wrong when the router is just started

* Fix missing check_seconds for next_update

Signed-off-by: Small_5 <[email protected]>
applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns